
<?php
$serverName = "(local)";
$usr = "cbfweb";
$pwd = "cbfweb";
$db = "CBF";


$connectionInfo = array( "Database"=>$db, "UID"=>$usr, "PWD"=>$pwd);
$conn = sqlsrv_connect( $serverName, $connectionInfo);
if( $conn )
{
     echo "";
}
else
{
     echo "Connection could not be established.\n";
     die( print_r( sqlsrv_errors(), true));
}